const fs = require('fs')
module.exports = {
    getImages: function(){
        const files = fs.readdirSync('./images')
        return files
    },
    deleteImage(imageName){
        return fs.unlinkSync('./images/'+imageName)
    }
}